//
//  FindFoodCollectionViewCell.m
//  B段项目
//
//  Created by 徐茂怀 on 15/11/7.
//  Copyright © 2015年 徐茂怀. All rights reserved.
//

#import "FindFoodCollectionViewCell.h"

@implementation FindFoodCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _label = [[UILabel alloc]init];
    }
    return self;
}


-(void)layoutSubviews
{
    [super layoutSubviews];
    [_label setFrame:self.bounds];
    _label.layer.borderWidth = 2.0;
    _label.layer.borderColor = [[UIColor colorWithRed:0.33 green:0.67 blue:0.63 alpha:1]CGColor];
    _label.textAlignment = 1;
    _label.textColor = [UIColor colorWithRed:0.33 green:0.67 blue:0.63 alpha:1];
    _label.layer.cornerRadius = 5.0;
    [self.contentView addSubview:_label];
}
@end
